import request from '@/utils/request';

/**
 * 主动上报日志列表
 * @param params
 * @returns
 */
export async function queryList({ ...params }): Promise<any> {
  return request.get('/connectLog/reportLogList', {
    params,
  });
}
/**
 * 主动上报日志详情
 * @param params
 * @returns
 */
export async function queryDetail({ ...params }): Promise<any> {
  return request.get('/connectLog/reportLogDetail', {
    params,
  });
}
export async function fetchDicData(): Promise<any> {
  return request.get('/datadict/finddict');
}
